import { get,post } from '@/utils/request'
// 获取电池列表
export const getContractList = () => {
    return get('/api/get-contract-list')
}
// 修改
// export const updContract = (data: any) => {
//     return post('/api/updContract',data)
// }
// 新建
// export const addContract = (data: any) => {
//     return post('/api/addContract',data)
// }
// 删除
export const delContract = (data: any) => {
    return get('/api/delContract',data)
}